A Personalized BMI Calculator

نویسنده

  • Prasun Dewan
چکیده

The (classes of the) objects we saw in the previous chapter are rather simple. Not because they are small in size. In fact, in well-written, real-world code, objects tend to be fairly small. The main reason for the simplicity is that each of these objects has a single, self-contained method that does not interact with other methods. In this chapter we will see how methods can call each other, much like we humans delegate work to others. Such collaborative methods do not increase the complexity of the kind of applications we build. Instead they improve the style of the program, making it easier to understand, change, debug, and get correct. We will see some additional elements of programming style such as named constants and comments. Writing complex collaborative methods often requires to break the application development process into phases in which we first develop the high-level steps that decide what the computer should do and phases in which we translate these steps into code in some programming language such as Java. We will look also at this stepwise refinement process.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Development and feasibility of a personalized, interactive risk calculator for knee osteoarthritis

BACKGROUND The incidence of knee osteoarthritis (OA) is rising. While several risk factors have been associated with the development of knee OA, this information is not readily accessible to those at risk for osteoarthritis. Risk calculators have been developed for several prevalent chronic conditions but not for OA. Using published evidence on established risk factors, we developed an interact...

متن کامل

3. Functions a Personalized Bmi Calculator

The (classes of the) objects we saw in the previous chapter are rather simple. Not because they are small in size. In fact, in well-written, real-world code, objects tend to be fairly small. The main reason for the simplicity is that each of these objects has a single, self-contained method that does not interact with other methods. In this chapter we will see how methods can call each other, m...

متن کامل

Effect of Integrated Personalized Health Care System on Middle-Aged and Elderly Women's Health

OBJECTIVES Body weight, body mass index (BMI), body fat, and blood pressure are important indicators of a person's health. In this experimental study, we evaluated the effectiveness of an integrated personalized health care system, Health Improvement and Management System (HIMS)-everyday, which instantly provides subjects with biofeedback on their measured body weight, BMI, body fat and blood p...

متن کامل

Meta-GWAS Accuracy and Power (MetaGAP) Calculator Shows that Hiding Heritability Is Partially Due to Imperfect Genetic Correlations across Studies

Large-scale genome-wide association results are typically obtained from a fixed-effects meta-analysis of GWAS summary statistics from multiple studies spanning different regions and/or time periods. This approach averages the estimated effects of genetic variants across studies. In case genetic effects are heterogeneous across studies, the statistical power of a GWAS and the predictive accuracy...

متن کامل

Calculating Alcohol Risk in a Visualisation Tool for Promoting Healthy Behaviour

OBJECTIVE To investigate effective methods for communicating the personalized risks of alcohol consumption, particularly to young people. METHODS An interactive computerized blood alcohol content calculator was implemented in Flash based on literature findings for effectively communicating risk. Young people were consulted on attitudes to the animation features and visualization techniques us...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012